/**************************************************************
 * HTTPPrint.h
 * Provides callback headers and resolution for user's custom
 * HTTP Application.
 * 
 * This file is automatically generated by the MPFS Utility
 * ALL MODIFICATIONS WILL BE OVERWRITTEN BY THE MPFS GENERATOR
 **************************************************************/

#ifndef __HTTPPRINT_H
#define __HTTPPRINT_H

#include "TCPIP Stack/TCPIP.h"

#if defined(STACK_USE_HTTP2_SERVER)

extern HTTP_CONN curHTTP;
extern HTTP_STUB httpStubs[MAX_HTTP_CONNECTIONS];
extern BYTE curHTTPID;

void HTTPPrint(DWORD callbackID);
void HTTPPrint_status_fail(void);
void HTTPPrint_status_ok(void);
void HTTPPrint_tp_e(void);
void HTTPPrint_tp_srv(void);
void HTTPPrint_tp_zz(void);
void HTTPPrint_tp_sz(void);
void HTTPPrint_geo_b(void);
void HTTPPrint_geo_a(void);
void HTTPPrint_gk(void);
void HTTPPrint_geo_ae(void);
void HTTPPrint_geo_l(void);
void HTTPPrint_geo_u(void);
void HTTPPrint_gK(void);
void HTTPPrint_geo_ue(void);
void HTTPPrint_ajax(void);
void HTTPPrint_Tn(void);
void HTTPPrint_TN(void);
void HTTPPrint_T0(WORD);
void HTTPPrint_T1(WORD);
void HTTPPrint_T2(WORD);
void HTTPPrint_T3(WORD);
void HTTPPrint_T4(void);
void HTTPPrint_n_iv(void);
void HTTPPrint_T6(void);
void HTTPPrint_T7(void);
void HTTPPrint_K0(void);
void HTTPPrint_K1(void);
void HTTPPrint_K2(void);
void HTTPPrint_K3(void);
void HTTPPrint_K4(void);
void HTTPPrint_K5(void);
void HTTPPrint_K6(void);
void HTTPPrint_K7(void);
void HTTPPrint_smpt_err(void);
void HTTPPrint_Ss(void);
void HTTPPrint_Sl(void);
void HTTPPrint_Si(void);
void HTTPPrint_Sc(void);
void HTTPPrint_Su(void);
void HTTPPrint_Es(void);
void HTTPPrint_Eo(void);
void HTTPPrint_Et(void);
void HTTPPrint_Ec(void);
void HTTPPrint_Ef(void);
void HTTPPrint_Eb(void);
void HTTPPrint_Em(void);
void HTTPPrint_Eu(void);
void HTTPPrint_Ep(void);
void HTTPPrint_e_no(void);
void HTTPPrint_log(void);
void HTTPPrint_np(void);
void HTTPPrint_IO_en(void);
void HTTPPrint_P_up(void);
void HTTPPrint_IO_show(void);
void HTTPPrint_io(void);
void HTTPPrint_io_ajax(void);
void HTTPPrint_multi(void);
void HTTPPrint_config(void);
void HTTPPrint_host(void);
void HTTPPrint_sn(void);
void HTTPPrint_dhcp(void);
void HTTPPrint_cip(void);
void HTTPPrint_port(void);
void HTTPPrint_csn(void);
void HTTPPrint_cgw(void);
void HTTPPrint_cdns1(void);
void HTTPPrint_cdns2(void);
void HTTPPrint_cmac(void);
void HTTPPrint_udp(void);
void HTTPPrint_uds(void);
void HTTPPrint_ude(void);
void HTTPPrint_reboot(void);
void HTTPPrint_strg(void);
void HTTPPrint_b_n(WORD);
void HTTPPrint_sd(WORD);
void HTTPPrint_di(WORD);
void HTTPPrint_ii(WORD);
void HTTPPrint_ia(WORD);
void HTTPPrint_iz(WORD);
void HTTPPrint_TA(WORD);
void HTTPPrint_TG(WORD);
void HTTPPrint_TF(WORD);
void HTTPPrint_bs(WORD);
void HTTPPrint_ssek(WORD);
void HTTPPrint_ed(WORD);
void HTTPPrint_sa(void);
void HTTPPrint_user(void);
void HTTPPrint_wol_en(void);
void HTTPPrint_WOL_show(void);
void HTTPPrint_wo(WORD);
void HTTPPrint_wm(WORD);
void HTTPPrint_wz(WORD);
void HTTPPrint_wa(void);
void HTTPPrint_WOL_ip(void);
void HTTPPrint_wam(void);

void HTTPPrint(DWORD callbackID)
{
	switch(callbackID)
	{
        case 0x00000000:
			HTTPPrint_status_fail();
			break;
        case 0x00000001:
			HTTPPrint_status_ok();
			break;
        case 0x00000002:
			HTTPPrint_tp_e();
			break;
        case 0x00000003:
			HTTPPrint_tp_srv();
			break;
        case 0x00000004:
			HTTPPrint_tp_zz();
			break;
        case 0x00000005:
			HTTPPrint_tp_sz();
			break;
        case 0x00000006:
			HTTPPrint_geo_b();
			break;
        case 0x00000007:
			HTTPPrint_geo_a();
			break;
        case 0x00000008:
			HTTPPrint_gk();
			break;
        case 0x00000009:
			HTTPPrint_geo_ae();
			break;
        case 0x0000000a:
			HTTPPrint_geo_l();
			break;
        case 0x0000000b:
			HTTPPrint_geo_u();
			break;
        case 0x0000000c:
			HTTPPrint_gK();
			break;
        case 0x0000000d:
			HTTPPrint_geo_ue();
			break;
        case 0x0000000e:
			HTTPPrint_ajax();
			break;
        case 0x0000000f:
			HTTPPrint_Tn();
			break;
        case 0x00000010:
			HTTPPrint_TN();
			break;
        case 0x00000011:
			HTTPPrint_T0(0);
			break;
        case 0x00000012:
			HTTPPrint_T1(0);
			break;
        case 0x00000013:
			HTTPPrint_T2(0);
			break;
        case 0x00000014:
			HTTPPrint_T3(0);
			break;
        case 0x00000015:
			HTTPPrint_T0(1);
			break;
        case 0x00000016:
			HTTPPrint_T1(1);
			break;
        case 0x00000017:
			HTTPPrint_T2(1);
			break;
        case 0x00000018:
			HTTPPrint_T3(1);
			break;
        case 0x00000019:
			HTTPPrint_T0(2);
			break;
        case 0x0000001a:
			HTTPPrint_T1(2);
			break;
        case 0x0000001b:
			HTTPPrint_T2(2);
			break;
        case 0x0000001c:
			HTTPPrint_T3(2);
			break;
        case 0x0000001d:
			HTTPPrint_T0(3);
			break;
        case 0x0000001e:
			HTTPPrint_T1(3);
			break;
        case 0x0000001f:
			HTTPPrint_T2(3);
			break;
        case 0x00000020:
			HTTPPrint_T3(3);
			break;
        case 0x00000021:
			HTTPPrint_T0(4);
			break;
        case 0x00000022:
			HTTPPrint_T1(4);
			break;
        case 0x00000023:
			HTTPPrint_T2(4);
			break;
        case 0x00000024:
			HTTPPrint_T3(4);
			break;
        case 0x00000025:
			HTTPPrint_T4();
			break;
        case 0x00000026:
			HTTPPrint_n_iv();
			break;
        case 0x00000027:
			HTTPPrint_T0(5);
			break;
        case 0x00000028:
			HTTPPrint_T1(5);
			break;
        case 0x00000029:
			HTTPPrint_T6();
			break;
        case 0x0000002a:
			HTTPPrint_T7();
			break;
        case 0x0000002b:
			HTTPPrint_K0();
			break;
        case 0x0000002c:
			HTTPPrint_K1();
			break;
        case 0x0000002d:
			HTTPPrint_K2();
			break;
        case 0x0000002e:
			HTTPPrint_K3();
			break;
        case 0x0000002f:
			HTTPPrint_K4();
			break;
        case 0x00000030:
			HTTPPrint_K5();
			break;
        case 0x00000031:
			HTTPPrint_K6();
			break;
        case 0x00000032:
			HTTPPrint_K7();
			break;
        case 0x00000033:
			HTTPPrint_smpt_err();
			break;
        case 0x00000034:
			HTTPPrint_Ss();
			break;
        case 0x00000035:
			HTTPPrint_Sl();
			break;
        case 0x00000036:
			HTTPPrint_Si();
			break;
        case 0x00000037:
			HTTPPrint_Sc();
			break;
        case 0x00000038:
			HTTPPrint_Su();
			break;
        case 0x00000039:
			HTTPPrint_Es();
			break;
        case 0x0000003a:
			HTTPPrint_Eo();
			break;
        case 0x0000003b:
			HTTPPrint_Et();
			break;
        case 0x0000003c:
			HTTPPrint_Ec();
			break;
        case 0x0000003d:
			HTTPPrint_Ef();
			break;
        case 0x0000003e:
			HTTPPrint_Eb();
			break;
        case 0x0000003f:
			HTTPPrint_Em();
			break;
        case 0x00000040:
			HTTPPrint_Eu();
			break;
        case 0x00000041:
			HTTPPrint_Ep();
			break;
        case 0x00000042:
			HTTPPrint_e_no();
			break;
        case 0x00000043:
			HTTPPrint_log();
			break;
        case 0x00000044:
			HTTPPrint_np();
			break;
        case 0x0000004a:
			HTTPPrint_IO_en();
			break;
        case 0x0000004b:
			HTTPPrint_P_up();
			break;
        case 0x0000004c:
			HTTPPrint_IO_show();
			break;
        case 0x0000004d:
			HTTPPrint_io();
			break;
        case 0x0000004e:
			HTTPPrint_io_ajax();
			break;
        case 0x00000052:
			HTTPPrint_multi();
			break;
        case 0x00000053:
			HTTPPrint_config();
			break;
        case 0x00000054:
			HTTPPrint_host();
			break;
        case 0x00000055:
			HTTPPrint_sn();
			break;
        case 0x00000056:
			HTTPPrint_dhcp();
			break;
        case 0x00000057:
			HTTPPrint_cip();
			break;
        case 0x00000058:
			HTTPPrint_port();
			break;
        case 0x00000059:
			HTTPPrint_csn();
			break;
        case 0x0000005a:
			HTTPPrint_cgw();
			break;
        case 0x0000005b:
			HTTPPrint_cdns1();
			break;
        case 0x0000005c:
			HTTPPrint_cdns2();
			break;
        case 0x0000005d:
			HTTPPrint_cmac();
			break;
        case 0x0000005e:
			HTTPPrint_udp();
			break;
        case 0x0000005f:
			HTTPPrint_uds();
			break;
        case 0x00000060:
			HTTPPrint_ude();
			break;
        case 0x00000061:
			HTTPPrint_reboot();
			break;
        case 0x00000062:
			HTTPPrint_strg();
			break;
        case 0x00000063:
			HTTPPrint_b_n(0);
			break;
        case 0x00000064:
			HTTPPrint_sd(0);
			break;
        case 0x00000065:
			HTTPPrint_di(0);
			break;
        case 0x00000066:
			HTTPPrint_ii(0);
			break;
        case 0x00000067:
			HTTPPrint_ia(0);
			break;
        case 0x00000068:
			HTTPPrint_iz(0);
			break;
        case 0x00000069:
			HTTPPrint_TA(0);
			break;
        case 0x0000006a:
			HTTPPrint_TG(0);
			break;
        case 0x0000006b:
			HTTPPrint_TF(0);
			break;
        case 0x0000006c:
			HTTPPrint_bs(0);
			break;
        case 0x0000006d:
			HTTPPrint_ssek(0);
			break;
        case 0x0000006e:
			HTTPPrint_ed(0);
			break;
        case 0x0000006f:
			HTTPPrint_b_n(1);
			break;
        case 0x00000070:
			HTTPPrint_sd(1);
			break;
        case 0x00000071:
			HTTPPrint_di(1);
			break;
        case 0x00000072:
			HTTPPrint_ii(1);
			break;
        case 0x00000073:
			HTTPPrint_ia(1);
			break;
        case 0x00000074:
			HTTPPrint_iz(1);
			break;
        case 0x00000075:
			HTTPPrint_TA(1);
			break;
        case 0x00000076:
			HTTPPrint_TG(1);
			break;
        case 0x00000077:
			HTTPPrint_TF(1);
			break;
        case 0x00000078:
			HTTPPrint_bs(1);
			break;
        case 0x00000079:
			HTTPPrint_ssek(1);
			break;
        case 0x0000007a:
			HTTPPrint_ed(1);
			break;
        case 0x0000007b:
			HTTPPrint_b_n(2);
			break;
        case 0x0000007c:
			HTTPPrint_sd(2);
			break;
        case 0x0000007d:
			HTTPPrint_di(2);
			break;
        case 0x0000007e:
			HTTPPrint_ii(2);
			break;
        case 0x0000007f:
			HTTPPrint_ia(2);
			break;
        case 0x00000080:
			HTTPPrint_iz(2);
			break;
        case 0x00000081:
			HTTPPrint_TA(2);
			break;
        case 0x00000082:
			HTTPPrint_TG(2);
			break;
        case 0x00000083:
			HTTPPrint_TF(2);
			break;
        case 0x00000084:
			HTTPPrint_bs(2);
			break;
        case 0x00000085:
			HTTPPrint_ssek(2);
			break;
        case 0x00000086:
			HTTPPrint_ed(2);
			break;
        case 0x00000087:
			HTTPPrint_b_n(3);
			break;
        case 0x00000088:
			HTTPPrint_sd(3);
			break;
        case 0x00000089:
			HTTPPrint_di(3);
			break;
        case 0x0000008a:
			HTTPPrint_ii(3);
			break;
        case 0x0000008b:
			HTTPPrint_ia(3);
			break;
        case 0x0000008c:
			HTTPPrint_iz(3);
			break;
        case 0x0000008d:
			HTTPPrint_TA(3);
			break;
        case 0x0000008e:
			HTTPPrint_TG(3);
			break;
        case 0x0000008f:
			HTTPPrint_TF(3);
			break;
        case 0x00000090:
			HTTPPrint_bs(3);
			break;
        case 0x00000091:
			HTTPPrint_ssek(3);
			break;
        case 0x00000092:
			HTTPPrint_ed(3);
			break;
        case 0x00000093:
			HTTPPrint_b_n(4);
			break;
        case 0x00000094:
			HTTPPrint_sd(4);
			break;
        case 0x00000095:
			HTTPPrint_di(4);
			break;
        case 0x00000096:
			HTTPPrint_ii(4);
			break;
        case 0x00000097:
			HTTPPrint_ia(4);
			break;
        case 0x00000098:
			HTTPPrint_iz(4);
			break;
        case 0x00000099:
			HTTPPrint_TA(4);
			break;
        case 0x0000009a:
			HTTPPrint_TG(4);
			break;
        case 0x0000009b:
			HTTPPrint_TF(4);
			break;
        case 0x0000009c:
			HTTPPrint_bs(4);
			break;
        case 0x0000009d:
			HTTPPrint_ssek(4);
			break;
        case 0x0000009e:
			HTTPPrint_ed(4);
			break;
        case 0x0000009f:
			HTTPPrint_b_n(5);
			break;
        case 0x000000a0:
			HTTPPrint_sd(5);
			break;
        case 0x000000a1:
			HTTPPrint_di(5);
			break;
        case 0x000000a2:
			HTTPPrint_ii(5);
			break;
        case 0x000000a3:
			HTTPPrint_ia(5);
			break;
        case 0x000000a4:
			HTTPPrint_iz(5);
			break;
        case 0x000000a5:
			HTTPPrint_TA(5);
			break;
        case 0x000000a6:
			HTTPPrint_TG(5);
			break;
        case 0x000000a7:
			HTTPPrint_TF(5);
			break;
        case 0x000000a8:
			HTTPPrint_bs(5);
			break;
        case 0x000000a9:
			HTTPPrint_ssek(5);
			break;
        case 0x000000aa:
			HTTPPrint_ed(5);
			break;
        case 0x000000ab:
			HTTPPrint_b_n(6);
			break;
        case 0x000000ac:
			HTTPPrint_sd(6);
			break;
        case 0x000000ad:
			HTTPPrint_di(6);
			break;
        case 0x000000ae:
			HTTPPrint_ii(6);
			break;
        case 0x000000af:
			HTTPPrint_ia(6);
			break;
        case 0x000000b0:
			HTTPPrint_iz(6);
			break;
        case 0x000000b1:
			HTTPPrint_TA(6);
			break;
        case 0x000000b2:
			HTTPPrint_TG(6);
			break;
        case 0x000000b3:
			HTTPPrint_TF(6);
			break;
        case 0x000000b4:
			HTTPPrint_bs(6);
			break;
        case 0x000000b5:
			HTTPPrint_ssek(6);
			break;
        case 0x000000b6:
			HTTPPrint_ed(6);
			break;
        case 0x000000b7:
			HTTPPrint_b_n(7);
			break;
        case 0x000000b8:
			HTTPPrint_sd(7);
			break;
        case 0x000000b9:
			HTTPPrint_di(7);
			break;
        case 0x000000ba:
			HTTPPrint_ii(7);
			break;
        case 0x000000bb:
			HTTPPrint_ia(7);
			break;
        case 0x000000bc:
			HTTPPrint_iz(7);
			break;
        case 0x000000bd:
			HTTPPrint_TA(7);
			break;
        case 0x000000be:
			HTTPPrint_TG(7);
			break;
        case 0x000000bf:
			HTTPPrint_TF(7);
			break;
        case 0x000000c0:
			HTTPPrint_bs(7);
			break;
        case 0x000000c1:
			HTTPPrint_ssek(7);
			break;
        case 0x000000c2:
			HTTPPrint_ed(7);
			break;
        case 0x000000c3:
			HTTPPrint_sa();
			break;
        case 0x000000c4:
			HTTPPrint_user();
			break;
        case 0x000000c6:
			HTTPPrint_wol_en();
			break;
        case 0x000000c7:
			HTTPPrint_WOL_show();
			break;
        case 0x000000c8:
			HTTPPrint_wo(0);
			break;
        case 0x000000c9:
			HTTPPrint_wm(0);
			break;
        case 0x000000ca:
			HTTPPrint_wz(0);
			break;
        case 0x000000cb:
			HTTPPrint_wo(1);
			break;
        case 0x000000cc:
			HTTPPrint_wm(1);
			break;
        case 0x000000cd:
			HTTPPrint_wz(1);
			break;
        case 0x000000ce:
			HTTPPrint_wo(2);
			break;
        case 0x000000cf:
			HTTPPrint_wm(2);
			break;
        case 0x000000d0:
			HTTPPrint_wz(2);
			break;
        case 0x000000d1:
			HTTPPrint_wo(3);
			break;
        case 0x000000d2:
			HTTPPrint_wm(3);
			break;
        case 0x000000d3:
			HTTPPrint_wz(3);
			break;
        case 0x000000d4:
			HTTPPrint_wo(4);
			break;
        case 0x000000d5:
			HTTPPrint_wm(4);
			break;
        case 0x000000d6:
			HTTPPrint_wz(4);
			break;
        case 0x000000d7:
			HTTPPrint_wo(5);
			break;
        case 0x000000d8:
			HTTPPrint_wm(5);
			break;
        case 0x000000d9:
			HTTPPrint_wz(5);
			break;
        case 0x000000da:
			HTTPPrint_wo(6);
			break;
        case 0x000000db:
			HTTPPrint_wm(6);
			break;
        case 0x000000dc:
			HTTPPrint_wz(6);
			break;
        case 0x000000dd:
			HTTPPrint_wo(7);
			break;
        case 0x000000de:
			HTTPPrint_wm(7);
			break;
        case 0x000000df:
			HTTPPrint_wz(7);
			break;
        case 0x000000e0:
			HTTPPrint_wa();
			break;
        case 0x000000e1:
			HTTPPrint_WOL_ip();
			break;
        case 0x000000e2:
			HTTPPrint_wam();
			break;
		default:
			// Output notification for undefined values
			TCPPutROMArray(sktHTTP, (ROM BYTE*)"!DEF", 4);
	}

	return;
}

void HTTPPrint_(void)
{
	TCPPut(sktHTTP, '~');
	return;
}

#endif

#endif
